package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.StrategyComment;
import cn.wolfcode.luowowo.comment.query.StrategyCommentQuery;
import org.springframework.data.domain.Page;

public interface IStrategyCommentService {
    /**
     * 保存用户评论
     * @param strategyComment
     */
    void save(StrategyComment strategyComment);

    /**
     * mongodb分页查询
     * @param qo
     * @return
     */
    Page query(StrategyCommentQuery qo);

    /**
     * 点赞功能
     * @param toid
     * @param fromid
     */
    void commentThumbUp(String toid, long fromid);
}
